<?php /* Smarty version 2.6.18, created on 2012-02-21 22:10:09
         compiled from user/changepass.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if ($this->_tpl_vars['AppUI']->id <= 0): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/login.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>  
<?php else: ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <div class="rightColumn">
    	<div class="boxContent">
        	<div class="contentItem">
                <div class="contentItems">
                	<?php if ($this->_tpl_vars['intStatuses'] >= 0): ?>
                		<div class="headerTitle">
                        	<h2>
                            	<?php if ($this->_tpl_vars['intStatuses'] == 0): ?>
                            		<a href="<?php echo @HOST_BACKEND; ?>
user/waiting">Thành viên chờ kích hoạt</a>
                                <?php elseif ($this->_tpl_vars['intStatuses'] == 1): ?>
                                	<a href="<?php echo @HOST_BACKEND; ?>
user/index">Thành viên chính thức</a>
                                <?php elseif ($this->_tpl_vars['intStatuses'] == 2): ?>
                                	<a href="<?php echo @HOST_BACKEND; ?>
user/cancelation">Thành viên đang tạm dừng</a>
                                <?php else: ?>
                                	<a href="<?php echo @HOST_BACKEND; ?>
user/suspend">Thành viên bị xóa</a>
                                <?php endif; ?>
                                &raquo; Thay đổi mật khẩu của thành viên <?php echo $this->_tpl_vars['objUser']->username; ?>

                           	</h2>
                       	</div>
                    <?php endif; ?>                	
                	<form name="frmChangepass" id="frmChangepass" method="post" enctype="multipart/form-data" action="<?php echo @HOST_BACKEND; ?>
user/savechangepass">
                    	<input type="hidden" name="puserid" id="puserid" value="<?php echo $this->_tpl_vars['objUser']->id; ?>
"/>
                        <input type="hidden" name="pemail" id="pemail" value="<?php echo $this->_tpl_vars['objUser']->email; ?>
"/>
                        <input type="hidden" name="pstatuses" id="pstatuses" value="<?php echo $this->_tpl_vars['intStatuses']; ?>
"/>
                        <input type="hidden" name="ppage" id="ppage" value="<?php echo $this->_tpl_vars['intPage']; ?>
"/>
                        <?php if ($this->_tpl_vars['intStatuses'] == 0): ?>
                        	<input type="hidden" name="pbackurl" id="pbackurl" value="<?php echo @HOST_BACKEND; ?>
user/waiting"/>
                        <?php elseif ($this->_tpl_vars['intStatuses'] == 1): ?>
                        	<input type="hidden" name="pbackurl" id="pbackurl" value="<?php echo @HOST_BACKEND; ?>
user/index"/>
                        <?php elseif ($this->_tpl_vars['intStatuses'] == 2): ?>
                        	<input type="hidden" name="pbackurl" id="pbackurl" value="<?php echo @HOST_BACKEND; ?>
user/cancelation"/>
                        <?php else: ?>
                        	<input type="hidden" name="pbackurl" id="pbackurl" value="<?php echo @HOST_BACKEND; ?>
user/suspend"/>
                        <?php endif; ?>
                        <div class="secData">
                            <div class="userInput">
                                <label for="ppassword">Mật khẩu <span class="symbolRequired">*</span>:</label>
                                <input type="password" class="text" name="ppassword" id="ppassword" value="" />
                            </div>
                            <div class="userInput">
                                <label for="ppassword_confirm">Xác nhận mật khẩu <span class="symbolRequired">*</span>:</label>
                                <input type="password" class="text" name="ppassword_confirm" id="ppassword_confirm" value="" />
                            </div>                            
                            <div class="secAction">
                                <input type="submit" value="Lưu dữ liệu"/>
                                <input type="reset" value="Nhập lại"/>
                            </div>
                       	</div>
                   	</form>
                </div>
          	</div>
        </div>
    </div>
<?php endif; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                